#include <iostream>
#include <math.h>

using namespace std;

int main()
{
int a;

  cout << "Vvedi chislo bol'she 999: ";
  cin >> a;
if (a>999)
 {
  cout << "Soten v chisle - " << a/100 <<" \n";
  cout << "Ostatok - " << a%100;
 }
else
 {
    cout <<"Vvedennoe chislo nekorrektno";
 }
    return 0;
}
